<%@page import="systems.AdsSystem"%>
<%@page import="helpers.UrlHelper"%>
<%@page import="systems.RecentlyDomain"%>
<%@page import="java.util.List"%>
<%
List<String> domains = RecentlyDomain.getDomains();

//Set content for Seo
String title = UrlHelper.getDomainServer(request)  + " - Recently domain view";
String description = "Lastest domain has been view in " + UrlHelper.getDomainServer(request) + ".";
String keywords = "recently domain, recently, lastest domain, DNS Record Analysis, Traffic Analysis, Site Technical Analysis, ip Analysis, Page Analysis and HTML Analysis";
String url = UrlHelper.getServerUrl(request) + "/recently";
%>
<%@ page language="java" contentType="text/html; charset=UTF-8" pageEncoding="UTF-8"%>
<jsp:include page="/templates/showdomain/layouts/header.jsp">
	<jsp:param name="title" value="<%=title %>" />
    <jsp:param name="description" value="<%=description %>" />
    <jsp:param name="keywords" value="<%=keywords %>" />
    <jsp:param name="ogtitle" value="<%=title %>" />
    <jsp:param name="ogurl" value="<%=url %>" />
    <jsp:param name="ogdescription" value="<%=description%>" />
</jsp:include>
	
	<div id="content">
		<jsp:include page="/templates/showdomain/elements/search_bar.jsp" />
		
		<div class="row">
			<!-- Left Content BEGIN -->
			<div class="span9">
				<section class="static-page">
					<div class="box1 block">
						<h3 class="title">Lastest Domain View</h3>
						<div class="adv left">
							<%=AdsSystem.getAds468x15() %>
						</div>
						<div class="row-fluid f-info">
							<div class="span12">
								
								<ul class="list-domain horizontal clearfix">
									<%
									for (int i = 0; i < domains.size(); i++) {
									%>
									<li><a href="/d/<%=domains.get(i)%>"><%=domains.get(i)%></a></li>
										<% if (i == 7) { %>
										</ul>
											<div class="adv">
												<%=AdsSystem.getAds468x60() %>
											</div>
										<ul class="list-domain horizontal clearfix">
										<% } %>
									<% } %>
								</ul>
							</div>
						</div>
					</div>
				</section>
			</div>
			<!-- Left Content END -->
			
			<jsp:include page="/templates/showdomain/elements/right.jsp" />
		</div>
		
		
	</div>
		
<jsp:include page="/templates/showdomain/layouts/footer.jsp" />